package org.rency.ues.dal.repository;

import org.rency.ues.dal.entity.DataHashDO;

public interface DataHashRepository {
	
	public DataHashDO exists(String ticket,String hash);
	
	public boolean save(DataHashDO entity);
	
	public boolean delete(int id);
	
	public boolean deleteByTicket(String ticket);
	
	public boolean deleteByHash(String hash);
	
	public DataHashDO get(int id);
	
	public DataHashDO getByTicket(String ticket);
	
	public DataHashDO getByHash(String hash);

}
